package com.yh.homestay.common;

import com.yh.homestay.pojo.UserStaff;

import java.io.Serializable;

public class StaffEditResult implements Serializable {
    private Integer code;
    private String  msg;
    private UserStaff userStaff;
    private StaffEditResult updataMaterielSingle;
    public StaffEditResult(Integer code, String msg, UserStaff userStaff) {
        this.code = code;
        this.msg = msg;
        this.userStaff = userStaff;
    }

  /*  public static StaffEditResult updataMaterielSingle(UserStaff userStaff) {
        return null;
    }*/

    public StaffEditResult getUpdataMaterielSingle() {
        return updataMaterielSingle;
    }

    public void setUpdataMaterielSingle(StaffEditResult updataMaterielSingle) {
        this.updataMaterielSingle = updataMaterielSingle;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public UserStaff getUserStaff() {
        return userStaff;
    }

    public void setUserStaff(UserStaff userStaff) {
        this.userStaff = userStaff;
    }

    @Override
    public String
    toString() {
        return "StaffEditResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", userstaff=" + userStaff +
                '}';
    }
}
